package com.lws.omapicompat

interface SessionCompat {

    fun close()

    fun closeChannels()

    fun getATR(): ByteArray?

    fun getReader(): ReaderCompat

    fun isClosed(): Boolean

    fun openBasicChannel(aid: ByteArray?, p2: Byte): ChannelCompat?
    fun openBasicChannel(aid: ByteArray?): ChannelCompat?

    fun openLogicalChannel(aid: ByteArray?, p2: Byte): ChannelCompat?

    fun openLogicalChannel(aid: ByteArray?): ChannelCompat?
}